package com.jctrip.hotel.source.model.greentree.req;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @Author：Haruhi
 * @description:
 * @Date：2023/8/31 11:40
 * @Package：com.jctrip.hotel.source.model.greentree.req
 * @Project：hotel-main
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@JacksonXmlRootElement(localName = "GetRoomTypeList")
public class GetRoomTypeListReq extends GreenTreeBaseReq{

    @JsonProperty("ReqHotels")
    @JacksonXmlProperty(localName = "ReqHotels")
    private ReqHotels reqHotels;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    public static class ReqHotels {
        @JsonProperty("ReqHotel")
        @JacksonXmlProperty(localName = "ReqHotel")
        private ReqHotel reqHotel;

        // getter 和 setter 方法省略

        @Data
        @NoArgsConstructor
        @AllArgsConstructor
        @Builder
        public static class ReqHotel {
            @JsonProperty("HotelCode")
            @JacksonXmlProperty(localName = "HotelCode")
            private String hotelCode;

            // getter 和 setter 方法省略
        }
    }
}